<div class="layui-container">
    <!--基础信息-->
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>{{manager_document["manager_name"]}}</legend>
    </fieldset>

    <div class="layui-row">
        <div class="layui-col-xs12 layui-col-md8">
            <!--移动：12/12、桌面：8/12-->
<!--                <div class="grid-demo grid-demo-bg1">-->

                <table class="layui-table" lay-even="" lay-skin="nob">
                      <colgroup>
                        <col width="200">
                        <col width="200">
                      </colgroup>
                      <tbody>
                        <tr>
                          <td>入行时间</td>
                          <td>{{manager_document["start_work_date"]}}</td>
                        </tr>
                        <tr>
                          <td>从业年限</td>
                          <td>{{manager_document["working_years"]}}</td>
                        </tr>
                        <tr>
                          <td>就职公司</td>
                          <td>{{manager_document["company_name"]}}</td>
                        </tr>
                        <tr>
                            <td>管理规模</td>
                            <td>{{manager_document["manage_aum"]}}</td>
                        </tr>
                        <tr>
                            <td>投资偏好</td>
                            <td>{{manager_document["manager_invest_type"]}}</td>
                        </tr>
                        <tr>
                            <td>代表基金</td>
                            <td>
                                <a href="/mutualfund/{{manager_document['typical_fund']}}">{{manager_document["typical_fund"]}}</a>
                            </td>

                        </tr>

                      </tbody>
                </table>
<!--                </div>-->
        </div>
    </div>



    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>经理简历</legend>
    </fieldset>
    <div class="layui-row">
        <div class="layui-col-xs12 layui-col-md8">
            <!--移动：12/12、桌面：8/12-->
            <div class="grid-demo grid-demo-bg1">
                {{manager_document["resume"]}}
            </div>
        </div>
    </div>

    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>管理能力</legend>
    </fieldset>
    <div class="layui-row">
        <div class="layui-col-xs12 layui-col-md8">
            <table class="layui-table" lay-even="" lay-skin="nob">
                  <colgroup>
                    <col width="150">
                    <col width="150">
                    <col width="200">
                    <col>
                  </colgroup>
                  <thead>
                    <tr>
                      <th>管理类型</th>
                      <th>年化收益</th>
                      <th>年化超额</th>
                      <th>管理年限</th>
                    </tr>
                  </thead>
                  <tbody>
                    {% for document in manager_return_profile_document %}
                    <tr>
                        <td>{{document["invest_type"]}}</td>
                        <td>{{document["annualized_return"]}}</td>
                        <td>{{document["excess_return"]}}</td>
                        <td>{{document["manage_years"]}}</td>
                    </tr>
                    {% end %}
                  </tbody>
                </table>
        </div>
    </div>
    {% if manager_total_stock_ability_document %}
    全部股混基金
    {% include "manager_total_stock_ability_chart.html" %}
    {% end %}

    {% if manager_mix_ability_document %}
    混合型基金
    {% include "manager_mix_ability_chart.html" %}
    {% end %}

    {% if manager_stock_ability_document %}
    股票型基金
    {% include "manager_stock_ability_chart.html" %}
    {% end %}

    {% if manager_bond_ability_document %}
    债券型基金
    {% include "manager_bond_ability_chart.html" %}
    {% end %}

    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>生涯曲线</legend>
    </fieldset>

    {% if daily_bar_document_total_stock %}
    全部股混基金
    {% include "price_chart_total_stock.html" %}
    {% end %}

    {% if daily_bar_document_stock %}
    股票型基金
    {% include "price_chart_stock.html" %}
    {% end %}

    {% if daily_bar_document_mix %}
    混合型基金
    {% include "price_chart_mix.html" %}
    {% end %}

    {% if daily_bar_document_bond %}
    债券型基金
    {% include "price_chart_bond.html" %}
    {% end %}

    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>过往管理基金</legend>
    </fieldset>

    <div class="layui-row">
        <div class="layui-col-xs12 layui-col-md8">
            <table class="layui-table" lay-even="" lay-skin="nob">
                <colgroup>
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col>
                </colgroup>
                  <thead>
                    <tr>
                        <th>基金代码</th>
                        <th>基金名称</th>
                        <th>开始时间</th>
                        <th>结束时间</th>
                        <th>区间收益</th>
                    </tr>
                  </thead>
                  <tbody>

                  {% for document_tenure in manager_tenure_documents %}
                    <tr>
                        <td>
                            <a href="/mutualfund/{{document_tenure['symbol']}}">{{document_tenure["symbol"]}}</a>
                        </td>
                        <td>{{document_tenure["fund_name"]}}</td>
                        <td>{{document_tenure["datetime1"]}}</td>
                        <td>{{document_tenure["datetime2"]}}</td>
                        <td>{{document_tenure["period_return"]}}</td>
                    </tr>
                  {% end %}

                  </tbody>
                </table>
        </div>
    </div>

    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>当前管理基金</legend>
    </fieldset>

</div>